package cn.nexd.collector.listener;

import java.util.List;

import cn.nexd.collector.NexdCollector;

/**
 * Created by codngfish on 16/5/6.
 */
public interface CollectorListener<T> {
    void onCollectionStart();

    void onCollectionSuccess(List<T> collectorResults);

    void onCollectorFailed(NexdCollector.CollectorState collectorState);

    void onCollectorInterrupt(NexdCollector.CollectorState collectorState);
}
